package com.mc2.docapp.disabilityassessmenttool.SpinalAffection;

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;

public class C_cerebral_palsy extends RealmObject {

    @PrimaryKey
    public int id;

    private double cerebralPalsyValue = 0d;

    public C_cerebral_palsy(int id, double cerebralPalsyValue) {
        this.id = id;
        this.cerebralPalsyValue = cerebralPalsyValue;
    }

    public C_cerebral_palsy() {
    }

    public C_cerebral_palsy strip(C_cerebral_palsy dt) {
        return new C_cerebral_palsy(dt.getId(), dt.getCerebralPalsyValue());
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getCerebralPalsyValue() {
        return cerebralPalsyValue;
    }

    public void setCerebralPalsyValue(double cerebralPalsyValue) {
        this.cerebralPalsyValue = cerebralPalsyValue;
    }
}


